#!/usr/bin/env/python
# -*- coding: utf-8 -*- 

# @File : Xml.py 
# @Author : t_fengyun
# @Time : 2019/9/16 11:14 
# @desc : there is description
from xml.dom import minidom


xml = "<?xml version='1.0' encoding='UTF-8'?><boy><name>test</name><sex>girl</sex><height>178</height><weight>65</weight><like></like></boy>"

doc = minidom.parse(xml)
root = doc.documentElement
emps = root.getElementsByTagName('')

